<template>
    <div class="app">
        <h1>{{ msg }}学校名是:{{schoolName}},学生姓名是:{{ studentName }}</h1>
        <School></School>
        <Student></Student>
    </div>
</template>

<script>
import Student from '@/components/Student.vue'
import School from '@/components/School.vue'

export default {
    name: 'App',
    components: {School, Student},
    data() {
        return {
            msg: '你好啊！',
            schoolName: '',
            studentName: ''
        }
    },
    methods: {
    },
}
</script>

<style scoped>
.app {
    background-color: gray;
    padding: 5px;
}
</style>